﻿using Demo.Service.Abstracts.User.Dtos;
using NET.AutoWebApi.ModelBinding;
using NET.AutoWebApi.Setting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo.Service.Abstracts.User
{
    public interface IUserService : IAutoApiService
    {
        public Task<List<UserGetListOutput>> GetListAsync(UserGetListInput input);
        public Task<UserGetListOutput> CreateAsync(UserCreateUpdateInput input);
        public Task<UserGetListOutput> UpdateAsync(int id, UserCreateUpdateInput input);
        public Task<bool> DeleteAsync(int id);
        public Task<bool> ImportAsync(IAutoApiStreamContent input);
    }
}
